package com.ruoyi.example.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.core.domain.Entity;
import com.ruoyi.exapmle.domain.ExamplePic;

/**
 * 案例管理对象 mg_example
 * 
 * @author 王强
 * @date 2024-01-20
 */
public class Example extends Entity implements ITimeEntity<Long>
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 专业领域 */
    @Excel(name = "专业领域")
    private String professionalField;

    /** 服务类别 */
    @Excel(name = "服务类别")
    private String serviceType;

    /** 发表期刊 */
    @Excel(name = "发表期刊")
    private String journals;

    /** 期刊分区 0 一区 1 二区 2 三区 3  四区 */
    @Excel(name = "期刊分区")
    private String journalsClass;

    /** 作者 */
    @Excel(name = "作者")
    private String author;
    
    @Excel(name = "链接")
    private String link;
    

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 论文标题 */
    @Excel(name = "论文标题")
    private String article;

    /** 0, 不启用; 1,启用 */
    @Excel(name = "0, 不启用; 1,启用")
    private Integer enabled;

    /** 发表时间 */
    @Excel(name = "发表时间")
    private Long publishTime;

    /** 案例图片信息 */
    private List<ExamplePic> mgExamplePicList;

    public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProfessionalField(String professionalField) 
    {
        this.professionalField = professionalField;
    }

    public String getProfessionalField() 
    {
        return professionalField;
    }
    public void setServiceType(String serviceType) 
    {
        this.serviceType = serviceType;
    }

    public String getServiceType() 
    {
        return serviceType;
    }
    public void setJournals(String journals) 
    {
        this.journals = journals;
    }

    public String getJournals() 
    {
        return journals;
    }
    public void setJournalsClass(String journalsClass) 
    {
        this.journalsClass = journalsClass;
    }

    public String getJournalsClass() 
    {
        return journalsClass;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setArticle(String article) 
    {
        this.article = article;
    }

    public String getArticle() 
    {
        return article;
    }
    public void setEnabled(Integer enabled) 
    {
        this.enabled = enabled;
    }

    public Integer getEnabled() 
    {
        return enabled;
    }
    public void setPublishTime(Long publishTime) 
    {
        this.publishTime = publishTime;
    }

    public Long getPublishTime() 
    {
        return publishTime;
    }

    public List<ExamplePic> getMgExamplePicList()
    {
        return mgExamplePicList;
    }

    public void setMgExamplePicList(List<ExamplePic> mgExamplePicList)
    {
        this.mgExamplePicList = mgExamplePicList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("professionalField", getProfessionalField())
            .append("serviceType", getServiceType())
            .append("journals", getJournals())
            .append("journalsClass", getJournalsClass())
            .append("author", getAuthor())
            .append("sort", getSort())
            .append("article", getArticle())
            .append("enabled", getEnabled())
            .append("publishTime", getPublishTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("mgExamplePicList", getMgExamplePicList())
            .toString();
    }
}
